<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <base th:href="${#request.getContextPath()}+'/'">
    <title>人事档案变更</title>
    <link rel="stylesheet" type="text/css" href="layui/dist/css/layui.css" />
    <link rel="stylesheet" type="text/css" href="css/面试结果登记.css" />
    <link rel="icon" type="image/png" href="icon/I.png">
    <script src="layui/src/layui.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/jquery.min.js"></script>
    <script src="js/renshixiugai.js"></script>
</head>
<style>
    table tr th{
        text-align: center !important;
        font-weight: bold !important;
    }
    tr td{
        text-align: center
    }
</style>
<body style="background: rgb(241, 241, 241) !important;">
<div style="width: 98%; margin: 0 auto">
<table class="layui-table" th:each="v:${per}">
    <colgroup>
        <col width="150">
        <col width="200">
        <col>
    </colgroup>

    <tr>
        <td>档案编码:</td>
        <td><input type="text" class="layui-input" th:value="${v.getPersonnelid()}" id="personnelid"></td>
        <td>变更类型:</td>
        <td>
            <div class="layui-form">
                <select class="modification" name="modification">
                    <option value="">&#45;&#45;请选择&#45;&#45;
                    <option th:selected="${v.getModification()=='转正'}" value="转正">转正</option>
                    <option th:selected="${v.getModification()=='调薪'}" value="调薪">调薪</option>
                    <option th:selected="${v.getModification()=='续签'}" value="续签">续签</option>
                    <option th:selected="${v.getModification()=='离职'}" value="离职">离职</option>
                    <option th:selected="${v.getModification()=='调岗'}" value="调岗">调岗</option>
                    <option th:selected="${v.getModification()=='其他变更'}" value="其他变更">其他变更</option>
                </select>
            </div>
        </td>
        <td>档案状态:</td>
        <td>
            <div class="layui-form">
                <select class="status" name="status">
                    <option value="">&#45;&#45;请选择&#45;&#45;
                    <option th:selected="${v.getStatus()=='试用期'}" value="试用期" >试用期</option>
                    <option th:selected="${v.getStatus()=='正式员工'}" value="正式员工" >正式员工</option>
                    <option th:selected="${v.getStatus()=='离职'}" value="离职" >离职</option>
                    <option th:selected="${v.getStatus()=='已删除'}" value="已删除">已删除</option>
                    <option th:selected="${v.getStatus()=='实习员工'}" value="实习员工">实习员工</option>
                </select>
            </div>
        </td>
    </tr>

    <tr>
        <td>所属部门:</td>
        <td><input type="text" class="layui-input department" th:value="${v.getDepartment()}" readonly></td>
        <td>职位名称:</td>
        <td><input type="text" class="layui-input position" th:value="${v.getPosition()}" ></td>
        <td>职位编码:</td>
        <td><input type="text" class="layui-input positionid" th:value="${v.getPersonnelid()}" ></td>
    </tr>
    <tr>
        <td>姓名:</td>
        <td><input type="text" class="layui-input name" th:value="${v.getName()}" ></td>
        <td>性别:</td>
        <td>
            <div class="layui-form">
                <select class="sex" name="sex">
                    <option value="">&#45;&#45;请选择&#45;&#45;
                    <option th:selected="${v.getSex()=='男'}" value="男">男</option>
                    <option th:selected="${v.getSex()=='女'}" value="女">女</option>
                </select>
            </div>
        </td>
        <td>EMAIL:</td>
        <td><input type="text" class="layui-input email" th:value="${v.getEmail()}" ></td>
    </tr>
    <tr>
        <td>联系电话:</td>
        <td><input type="text" class="layui-input pohone" th:value="${v.getPohone()}" ></td>
        <td>住址:</td>
        <td colspan="2"><input type="text" class="layui-input address" th:value="${v.getAddress()}" ></td>
    </tr>

    <tr>
        <td>身份证号:</td>
        <td><input type="text" class="layui-input cardid" th:value="${v.getCardid()}" ></td>
        <td>户口所在地:</td>
        <td><input type="text" class="layui-input originalHome" th:value="${v.getOriginalHome()}" ></td>
        <td>政治面貌:</td>
        <td><input type="text" class="layui-input politicsStatus" th:value="${v.getPoliticsStatus()}" ></td>
    </tr>
    <tr>
        <td>毕业院校:</td>
        <td><input type="text" class="layui-input school" th:value="${v.getSchool()}" ></td>
        <td>专业:</td>
        <td><input type="text" class="layui-input specialty" th:value="${v.getSpecialty()}" ></td>
        <td>学历:</td>
        <td>
            <div class="layui-form">
                <select class="educationBackground" name="educationBackground">
                    <option value="">&#45;&#45;请选择&#45;&#45;
                    <option th:selected="${v.getEducationBackground()=='专科'}" value="专科">专科</option>
                    <option th:selected="${v.getEducationBackground()=='本科'}" value="本科">本科</option>
                    <option th:selected="${v.getEducationBackground()=='硕士'}" value="硕士">硕士</option>
                    <option th:selected="${v.getEducationBackground()=='博士'}" value="博士">博士</option>
                </select>
            </div>
        </td>
    </tr>
    <tr>
        <td>薪酬标准:</td>
        <td>
            <div class="layui-form">
                <select class="salary" name="salary">
                    <option value="">&#45;&#45;请选择&#45;&#45;
                    <option th:selected="${v.getSalary()=='高级软件工程师'}" value="高级软件工程师">高级软件工程师</option>
                    <option th:selected="${v.getSalary()=='中级软件工程师'}" value="中级软件工程师">中级软件工程师</option>
                    <option th:selected="${v.getSalary()=='初级软件工程师'}" value="初级软件工程师">初级软件工程师</option>
                </select>
            </div>
        </td>
        <td>开户行:</td>
        <td><input type="text" class="layui-input openingBank" th:value="${v.getOpeningBank()}" ></td>
        <td>银行卡号:</td>
        <td><input type="text" class="layui-input cardNumbers" th:value="${v.getCardNumbers()}" ></td>
    </tr>
    <tr>
        <td>社保卡号:</td>
        <td><input type="text" class="layui-input socialNumbers" th:value="${v.getSocialNumbers()}" ></td>
        <td>登记人:</td>
        <td><input type="text" class="layui-input registrant" th:value="${v.getRegistrant()}" ></td>
        <td>建档时间:</td>
        <td><input type="date" class="layui-input inputtingTime" th:value="${#dates.format(v.getInputtingTime(),'yyyy-MM-dd')}" ></td>
    </tr>
    <tr>
        <td>个人履历：</td>
        <td colspan="5">
            <textarea class="layui-input curriculumVitae" rows="4" th:text="${v.getCurriculumVitae()}" ></textarea>
        </td>
    </tr>
    <tr>
        <td>家庭关系信息：</td>
        <td colspan="5">
            <textarea class="layui-input FamilyInformation" rows="4" th:text="${v.getFamilyInformation()}" ></textarea>
        </td>
    </tr>
    <tr>
        <td>备注：</td>
        <td colspan="5">
            <textarea class="layui-input comment" rows="4" th:text="${v.getComment()}" ></textarea>
        </td>
    </tr>
    <tr>
        <td>简历附件：</td>
        <!--<td colspan="5"><input type="file" th:value="${v.getAttachment()}" /></td>-->
        <td colspan="5"><span th:text="${v.getAttachment()}"></span></td>
    </tr>
    <tr>
        <td colspan="6" align="center">
            <div class="layui-btn-container">
                <button type="button" class="layui-btn layui-btn-normal" onclick="BG(this)">保存</button>
                <button type="button" class="layui-btn layui-btn-normal" onclick="BG2(this)">变更申请</button>
                <button type="button" class="layui-btn layui-btn-normal" onclick="location.href='人事档案管理'">返回</button>
            </div>
        </td>
    </tr>
</table>
<script>
    layui.use('form', function () {
        var form = layui.form;

    });
</script>
</div>
</body>
</html>
